package water;

public class Test {
    public static void main(String[] args) {
        WaterDispenser waterDispenser = new WaterDispenser("美的", "红色", 5, "手动");
        waterDispenser.show();
        System.out.println(waterDispenser.getCapacity());
        if (waterDispenser.getCapacity() > 3) {
            System.out.println("大于3");
        } else {
            System.out.println("小于等于3");
        }
    }
}
